package com.wejoy.video.middle.station.data.mapper.workorder;

import com.wejoy.video.middle.station.data.domain.workorder.WorkOrderProcess;

import java.util.List;

/**
 * 工单处置描述表
 *
 * @author miracle_j
 * @date 2022年11月17日 14:35:58
 */
public interface IWorkOrderProcessMapper {

    /**
     * 插入
     *
     * @param workOrderProcess workOrderProcess
     * @return int
     */
    int insertSelective(WorkOrderProcess workOrderProcess);

    /**
     * 更新
     *
     * @param setParam   setParam
     * @param whereParam whereParam
     * @return int
     */
    int updateSelective(WorkOrderProcess setParam, WorkOrderProcess whereParam);

    /**
     * 数量
     *
     * @param workOrderProcess workOrderProcess
     * @return int
     */
    int getCount(WorkOrderProcess workOrderProcess);

    /**
     * 单条
     *
     * @param workOrderProcess workOrderProcess
     * @return WorkOrderProcess
     */
    WorkOrderProcess getOne(WorkOrderProcess workOrderProcess);

    /**
     * 多条
     *
     * @param workOrderProcess workOrderProcess
     * @return List<WorkOrderProcess>
     */
    List<WorkOrderProcess> getList(WorkOrderProcess workOrderProcess);

    /**
     * 分页
     *
     * @param workOrderProcess workOrderProcess
     * @return List<WorkOrderProcess>
     */
    List<WorkOrderProcess> getPageList(WorkOrderProcess workOrderProcess);

}